package com.atguigu.spzx.manager.service;


import com.atguigu.spzx.model.pojo.product.CategoryBrand;
import com.atguigu.spzx.model.request.product.CategoryBrandRequest;
import com.atguigu.spzx.model.vo.product.CategoryBrandVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CategoryBrandService extends IService<CategoryBrand> {
    Page<CategoryBrandVo> findPage(Page<CategoryBrand> page, CategoryBrandRequest categoryBrandRequest);

    boolean addCategoryBrand(CategoryBrandRequest categoryBrandRequest);

    boolean updateCategoryBrand(CategoryBrandRequest categoryBrandRequest, Long id);
}
